package com.easygo.service;

import com.xuexi.easygo.pojo.Goods;

import java.util.List;

public interface GoodService {

    Goods SaveDocument(Goods goods);

    Iterable<Goods> SaveDocuments(List<Goods> goods);

    //修改
    void saveDocumentById(Goods goods);
    //根据id查询
    Goods getDocumentsById(Long id);

    //根据id删除
    void deleteDocumentById(Long id);
    void deleteAll();

}
